package com.thtf.strokeinquiry.app.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Id;
import java.util.Date;

public class MedInquiryRiskass {
    @Id
    private Integer id;

    private String recordId;

    private String patientId;

    private String patientName;

    private String patientIdNo;

    private String patientSex;

    private String patientMarriage;

    private String hypertension;

    private String dyslipidemia;

    private String diabetes;

    private String heartDisease;

    private String smokingHistory;

    private String overweight;

    private String lackExercise;

    private String strokeFamiliy;

    private String strokeHistory;

    private String tia;

    private String riskLevel;

    private String riskManager;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId == null ? null : recordId.trim();
    }

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId == null ? null : patientId.trim();
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName == null ? null : patientName.trim();
    }

    public String getPatientIdNo() {
        return patientIdNo;
    }

    public void setPatientIdNo(String patientIdNo) {
        this.patientIdNo = patientIdNo == null ? null : patientIdNo.trim();
    }

    public String getPatientSex() {
        return patientSex;
    }

    public void setPatientSex(String patientSex) {
        this.patientSex = patientSex == null ? null : patientSex.trim();
    }

    public String getPatientMarriage() {
        return patientMarriage;
    }

    public void setPatientMarriage(String patientMarriage) {
        this.patientMarriage = patientMarriage == null ? null : patientMarriage.trim();
    }

    public String getHypertension() {
        return hypertension;
    }

    public void setHypertension(String hypertension) {
        this.hypertension = hypertension == null ? null : hypertension.trim();
    }

    public String getDyslipidemia() {
        return dyslipidemia;
    }

    public void setDyslipidemia(String dyslipidemia) {
        this.dyslipidemia = dyslipidemia == null ? null : dyslipidemia.trim();
    }

    public String getDiabetes() {
        return diabetes;
    }

    public void setDiabetes(String diabetes) {
        this.diabetes = diabetes == null ? null : diabetes.trim();
    }

    public String getHeartDisease() {
        return heartDisease;
    }

    public void setHeartDisease(String heartDisease) {
        this.heartDisease = heartDisease == null ? null : heartDisease.trim();
    }

    public String getSmokingHistory() {
        return smokingHistory;
    }

    public void setSmokingHistory(String smokingHistory) {
        this.smokingHistory = smokingHistory == null ? null : smokingHistory.trim();
    }

    public String getOverweight() {
        return overweight;
    }

    public void setOverweight(String overweight) {
        this.overweight = overweight == null ? null : overweight.trim();
    }

    public String getLackExercise() {
        return lackExercise;
    }

    public void setLackExercise(String lackExercise) {
        this.lackExercise = lackExercise == null ? null : lackExercise.trim();
    }

    public String getStrokeFamiliy() {
        return strokeFamiliy;
    }

    public void setStrokeFamiliy(String strokeFamiliy) {
        this.strokeFamiliy = strokeFamiliy == null ? null : strokeFamiliy.trim();
    }

    public String getStrokeHistory() {
        return strokeHistory;
    }

    public void setStrokeHistory(String strokeHistory) {
        this.strokeHistory = strokeHistory == null ? null : strokeHistory.trim();
    }

    public String getTia() {
        return tia;
    }

    public void setTia(String tia) {
        this.tia = tia == null ? null : tia.trim();
    }

    public String getRiskLevel() {
        return riskLevel;
    }

    public void setRiskLevel(String riskLevel) {
        this.riskLevel = riskLevel == null ? null : riskLevel.trim();
    }

    public String getRiskManager() {
        return riskManager;
    }

    public void setRiskManager(String riskManager) {
        this.riskManager = riskManager == null ? null : riskManager.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}